You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/11/22 22:39:12 UTC

[GitHub] [netbeans] dan2see commented on issue #4998: My 3-module application compiles with "Illegal/unsupported escape sequence".

dan2see commented on issue #4998:
URL: https://github.com/apache/netbeans/issues/4998#issuecomment-1324330392

   Today is the next day, and I did not give up.
   My program actually runs correctly when I hit the "Run Project (F6)" button.
   
   But if I "Build" or "Clean and Build", it crashes. Here is the error report for "Build":
   ----------------------------------------
   ant -f C:\\Users\\Daniel\\Programming\\Java\\Modularity\\EasyText33 -Dnb.internal.action.name=build jar
   init:
   Deleting: C:\Users\Daniel\Programming\Java\Modularity\EasyText33\build\built-jar.properties
   deps-jar:
   Updating property file: C:\Users\Daniel\Programming\Java\Modularity\EasyText33\build\built-jar.properties
   Copying resources from src
   compile:
   C:\Users\Daniel\Programming\Java\Modularity\EasyText33\nbproject\build-impl.xml:1330: 
   java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 65
   \QC:\Users\Daniel\Programming\Java\Modularity\EasyText33\build\modules\\E([^\\]+)\Q\\E.*\.class
   	at java.base/java.util.regex.Pattern.error(Pattern.java:2038)
   	at java.base/java.util.regex.Pattern.escape(Pattern.java:2618)
   	at java.base/java.util.regex.Pattern.atom(Pattern.java:2296)
   ... more ...
   ----------------------------------------
   This is the consistent result. The xml error is the Ant build-file that NetBeans generates.
   
   - Daniel
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists