8000 739 logs by DayS · Pull Request #794 · androidannotations/androidannotations · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Conversation

@DayS
Copy link
Contributor
@DayS DayS commented Nov 22, 2013

Related to #739

In the end, I didn't use slf4j and an implementation and rewrite a simple logger by myself. Because of this, the user doesn't need to change his factory path to keep project working.

Also, there are two new annotation processing options : logLevel and logFile (which can contains the placeholder {outputFolder}).
The default level is DEBUG, and if no logfile was specified AA will try to resolve the log path by looking if these folders exists (in this order) :

  • target
  • build
  • bin
  • root folder
  • execution folder (ie: IDE folder or console current folder)

Note : This PR is not finished yet. I still have to add some logs in some important points. But you can start reviewing it.

@DayS
Copy link
Contributor Author
DayS commented Dec 8, 2013

It would be nice to have someone testing this PR with Gradle, Ant and/or Netbeans :)
I already tested it with maven, Eclipse and IntelliJ and it works fine.

DayS added 2 commits December 8, 2013 22:52
Conflicts:
	AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/AndroidAnnotationProcessor.java
	AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/generation/ApiCodeGenerator.java
	AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/generation/SourceCodewriter.java
	AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/helper/AnnotationHelper.java
	AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/process/ModelProcessor.java
	AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/process/ModelValidator.java
@DayS
Copy link
Contributor Author
DayS commented Dec 16, 2013

I think it should work now :)

DayS added a commit that referenced this pull request Dec 16, 2013
@DayS DayS merged commit 789663f into develop Dec 16, 2013
@DayS DayS deleted the 739_logs branch December 16, 2013 22:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0